package com.gofruit.bean;

import java.util.Date;

/**
 * 
 * @author 陈瑶
 * @see 评论实体
 *
 */
public class Comment {
	
	private int commentId;//评论编号
	private int productId;//产品编号
	private String productName;//产品名
	private int userId;//用户编号
	private String userName;//用户名
	private int orderId;//订单编号
	private int commnetLevel;
	private String commentContent;//评价内容
	private String commnetImageLocation;//评论截图路径
	private String commentDetail;//评论描述
	private Date commentTime;//评论时间
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public int getOrderId() {
		return orderId;
	}
	public int getCommnetLevel() {
		return commnetLevel;
	}
	public void setCommnetLevel(int commnetLevel) {
		this.commnetLevel = commnetLevel;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public String getCommentContent() {
		return commentContent;
	}
	
	public String getCommnetImageLocation() {
		return commnetImageLocation;
	}
	public void setCommnetImageLocation(String commnetImageLocation) {
		this.commnetImageLocation = commnetImageLocation;
	}
	public String getCommentDetail() {
		return commentDetail;
	}
	public void setCommentDetail(String commentDetail) {
		this.commentDetail = commentDetail;
	}
	public Date getCommentTime() {
		return commentTime;
	}
	public void setCommentTime(Date commentTime) {
		this.commentTime = commentTime;
	}
	public Comment(int commentId, int productId, String productName,
			int userId, String userName,int orderId, int commnetLevel,String commentContent,
			String commnetImageLocation, String commentDetail, Date commentTime) {
		super();
		this.commentId = commentId;
		this.productId = productId;
		this.productName = productName;
		this.userId = userId;
		this.userName = userName;
		this.orderId = orderId;
		this.commnetLevel = commnetLevel;
		this.commentContent = commentContent;
		this.commnetImageLocation = commnetImageLocation;
		this.commentDetail = commentDetail;
		this.commentTime = commentTime;
	}
	public Comment() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}	
